package com.jinghangzz.shop.goods.service;

import java.util.List;

import com.jinghangzz.shop.goods.pojo.AGoodsCate;

/**
 * 不带Oper的Service,就干一件事情,完成CRUD
 * 带Oper是完成除了CRUD以外的Service
 * @author TeaBig
 *
 */
public interface IGoodsOperService
{
	/**
	 * 查询树形结构;
	 * 是向下找 
	 * @param currCate 要是null就查询整棵树
	 * @return
	 */
	List<AGoodsCate> findListCateTreeService(AGoodsCate currCate);
	
	/**
	 * 批量抓取京东的数据
	 */
	void operBatchSpiderGoodsService(AGoodsCate currCate);
	
	/**
	 * 多线程批量抓取京东
	 * @param currCate
	 * @param stRecord
	 * @param edRecord
	 */
	void operBatchJdThread(AGoodsCate currCate,int stRecord,int edRecord);
}